package alipay.openplatform.edu.campus.jiuye.service.iservice.topic;

import alipay.openplatform.edu.campus.jiuye.model.po.TopicSchoolInfoPO;
import alipay.openplatform.edu.campus.jiuye.model.vo.SchoolVO;

import java.util.List;

public interface ITopicSchoolInfoService {

    void addSchool(int topicId,List<SchoolVO> schoolVOs);

    void updateSchool(Integer topicId, List<SchoolVO> schoolVOs);

    /**
     * 根据学校id查询学校信息
     * @param schoolId  学校id
     * @param cityId  城市id
     * @return
     */
    List<TopicSchoolInfoPO> queryByschoolId(String schoolId,String cityId);

    List<SchoolVO> getSchoolsByTopicId(Integer topicId);

    void deleteSchoolByTopicId(Integer topicId);
}